package cxm.mmp.aud;

import cxm.lib.util.MyLog;

public class EmptyRecording implements IRecordingSource {
	public int onRecordStart() {
		MyLog.Log(MyLog.Level.Debug, "Start Recording");
		return 0;
	}
	
	public int onRecordData(byte []data, int start, int num) {
		MyLog.Log(MyLog.Level.Debug, "On Recording data start:" + start + " num: " + num);
		return num > 160 ? 160 : num;
	}
	
	public int onRecordStop() {
		MyLog.Log(MyLog.Level.Debug, "On Recording stop");
		return 0;
	}
	
	public int onRecordError(IRecordingSource.RecordError error, int errno) {
		MyLog.Log(MyLog.Level.Debug, "On Recording error");
		return 0;
	}
}
